package com.wingsboat.factory.config;

public class BeanDefinition {
    private Class beanClass;

    private boolean isSingleton;

    public BeanDefinition(Class beanClass, boolean isSingleton) {
        this.beanClass = beanClass;
        this.isSingleton = isSingleton;
    }

    public boolean isSingleton() {
        return isSingleton;
    }

    public void setSingleton(boolean singleton) {
        isSingleton = singleton;
    }

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }
}
